From: Stefan Kangas Date: Sat, 2 Oct 2021 14:20:06 +0000 (+0200) Subject: Expand internal--format-docstring-line test X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~3291^2~1077 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ea3e51732dbd6755c1eacb3ba3fa79b0cd13f806;p=emacs.git Expand internal--format-docstring-line test * test/lisp/subr-tests.el (subr-test-internal--format-docstring-line): Check for error on newline. --- diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el index ed9a3d01498..5c4e0b9de93 100644 --- a/test/lisp/subr-tests.el +++ b/test/lisp/subr-tests.el @@ -777,7 +777,8 @@ some of the ways to customize it; it corresponds to GNU Emacs version 28.1.")) "Emacs is the advanced, extensible, customizable, self-documenting editor. This manual describes how to edit with Emacs and some of the ways to customize it; it -corresponds to GNU Emacs version 28.1."))) +corresponds to GNU Emacs version 28.1.")) + (should-error (internal--format-docstring-line "foo\nbar"))) (ert-deftest test-ensure-list () (should (equal (ensure-list nil) nil))